<template>
  <div>
    <div class="item-content">
      <div class="map-content">
        <baidu-map class="map" :center="{lng: 107.241123, lat:34.366293}" :zoom="15"          :scroll-wheel-zoom="true"   :theme="mapTheme">
          <div v-for="marker of markers" v-if="markers" class="map-title">
            <bm-marker :position="{lng: marker.longitude, lat: marker.latitude}"
                       :title="marker.scenicName"
                       :icon="{url: img, size: {width: 60, height: 67}}"
                       @click="infoWindowClose(marker,markers)"
            >

              <my-overlay
                :position="{lng: marker.longitude, lat: marker.latitude}"
                :text="marker.scenicName"
                :id="marker.id"
                :active="active"
                 @childFn="close"
                :show="marker.showFlag"
                @mouseover.native="active = true"
              >
              </my-overlay>
            </bm-marker>

          </div>
        </baidu-map>

      </div>
      <div class="item-header">大屏展示平台一</div>
      <!--      <div class="item-center">-->
      <!--        <div class="item-title" style="width: 100%;">监控数据汇总</div>-->
      <!--        <div ref="commandstats5" class="echarsPie " style="width: 80%; height:70%; margin: 0 auto; margin-top: 30px;"></div>-->
      <!--      </div>-->
      <div class="item-left">
        <div class="item-left-Box" style="height: 56%">
          <div class="item-big-box">
            <div class="item-title">用电情况统计</div>
            <div class="complaint">
              <div class="complaint-item">
                <div class="echarsPie">

                    <img class="effectposition arounddataeffect01" src="~@/assets/aroundeffect.png">
                      <div class="acrossremindeffectin">10个</div>
                  </div>
                <div class="complaint-item-title">大型企业</div>
              </div>
              <div class="complaint-item">
                 <div class="echarsPie">

                    <img class="effectposition arounddataeffect02" src="~@/assets/aroundeffect.png">
                      <div class="acrossremindeffectin">12个</div>
                  </div>
                <div class="complaint-item-title">中型企业</div>
              </div>
              <div class="complaint-item">
              <div class="echarsPie">

                    <img class="effectposition arounddataeffect03" src="~@/assets/aroundeffect.png">
                      <div class="acrossremindeffectin">40个</div>
                  </div>
                <div class="complaint-item-title">小型企业</div>
              </div>
              <div class="complaint-item">
        <div class="echarsPie">

                    <img class="effectposition arounddataeffect02" src="~@/assets/aroundeffect.png">
                      <div class="acrossremindeffectin">30个</div>
                  </div>
                <div class="complaint-item-title">微型企业</div>
              </div>
            </div>
            <div class="new-add-QY">
              <div class="mew-add-box">
                <div class="new-add-title">新增企业</div>
                <div class="new-add-border">
                  <div class="n-a-b" @click="current(1)"  :class="{'n-active':activeIndex==1}">月</div>
                  <div class="n-a-b"  @click="current(2)"  :class="{'n-active':activeIndex==2}">季度</div>
                  <div class="n-a-b"  @click="current(3)"  :class="{'n-active':activeIndex==3}">年</div>
                </div>
              </div>

              <div class="new-area-content">
                <div class="new-area">
                  <div class="new-item">
                    <div class="new-area-title">区域</div>
                  </div>
                  <div class="new-item">
                    <div class="new-area-title">新增数量</div>
                  </div>
                  <div class="new-item">
                    <div class="new-area-title">占比数</div>
                  </div>
                </div>
                <div class="new-area">
                  <div class="new-item">
                    <div class="new-area-title">马营镇</div>
                  </div>
                  <div class="new-item">
                    <div class="new-area-title">30</div>
                  </div>
                  <div class="new-item">
                    <div class="new-area-title">
                      <div class="line">
                        <div class="l-line"></div>
                      </div>
                      <div class="line-number">600</div>
                    </div>
                  </div>
                </div>
                <div class="new-area">
                  <div class="new-item">
                    <div class="new-area-title">钓渭镇</div>
                  </div>
                  <div class="new-item">
                    <div class="new-area-title">30</div>
                  </div>
                  <div class="new-item">
                    <div class="new-area-title">
                      <div class="line">
                        <div class="l-line"></div>
                      </div>
                      <div class="line-number">600</div>
                    </div>
                  </div>
                </div>
                <div class="new-area">
                  <div class="new-item">
                    <div class="new-area-title">马营镇</div>
                  </div>
                  <div class="new-item">
                    <div class="new-area-title">30</div>
                  </div>
                  <div class="new-item">
                    <div class="new-area-title">
                      <div class="line">
                        <div class="l-line"></div>
                      </div>
                      <div class="line-number">600</div>
                    </div>
                  </div>
                </div>
                <div class="new-area">
                  <div class="new-item">
                    <div class="new-area-title">马营镇</div>
                  </div>
                  <div class="new-item">
                    <div class="new-area-title">30</div>
                  </div>
                  <div class="new-item">
                    <div class="new-area-title">
                      <div class="line">
                        <div class="l-line"></div>
                      </div>
                      <div class="line-number">600</div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <!--            <div ref="commandstats" class="echarsPie " style="width: 80%; height:70%; margin: 0 auto; margin-top: 30px;"></div>-->
          </div>
        </div>
        <div class="item-left-Box" style="height: 42%">
          <div class="item-big-box" style="height: 100%">
            <div class="item-title">设备相关统计</div>
            <div class="item-box-img">
              <div class="Number">68.93%</div>
              <div class="Number2">31.07%</div>

              <div class="item-line"></div>
              <div class="h-line"></div>
              <div class="h-word">
                <span>产污设备</span>
                <p>30</p>
              </div>
              <div class="item-line-right"></div>
              <div class="item-h-line2"></div>

              <div class="h-word2">
                <span>去污设备</span>
                <p>8</p>
              </div>
            </div>
            <div class="shebei-list">
              <div class="shebei-circle"></div>
              <div>产污设备</div>
              <div>使用率75%</div>
              <div>损耗75万</div>
            </div>
            <div class="shebei-list">
              <div class="shebei-circle"></div>
              <div>产污设备</div>
              <div>使用率75%</div>
              <div>损耗75万</div>
            </div>
          </div>
        </div>
      </div>
      <div class="item-right">
        <div class="item-left-Box" style="text-align: right; height: 38%">
          <div class="item-big-box" style="height: 100%; display: inline-block">
            <div class="item-title">文件相关统计</div>
            <div class="new-Month">
<!--              <div class="new-add-border">
                <div class="n-a-b" @click="fileCurrent(1)"  :class="{'n-active':fileIndex==1}">月</div>
                <div class="n-a-b" @click="fileCurrent(2)"  :class="{'n-active':fileIndex==2}">季度</div>
                <div class="n-a-b" @click="fileCurrent(3)"  :class="{'n-active':fileIndex==3}">年</div>
              </div>-->
            </div>
            <div class="hp-wj">
              <div class="hp-wj1">
                <span></span>
                <p>环评文件</p>
              </div>
<!--              <div class="hp-wj2">
                <span></span>
                <p>公文发布</p>
              </div>-->
            </div>
            <div
              ref="commandstats5"
              class=""
              style="width: 85%; height: 70%; margin: 0 auto; margin-top: 1px"
            ></div>
          </div>
        </div>
        <div class="item-left-Box" style="text-align: right; height: 70%">
          <div
            class="item-big-box"
            style="height: 92%; display: inline-block; margin-top: 5%"
          >
            <div class="item-title">污染相关统计</div>
            <div
              ref="commandstats"
              class=""
              style="width: 85%; height: 40%; margin: 0 auto; margin-top: 20px"
            ></div>
             <div class="out-border">固废处理</div>
            <div class="gfcl">
              <div class="gfcl-item">
                <div class="gf1">59148</div>
                <p>已处理</p>
              </div>
              <div class="gfcl-item">
                <div class="gf2">11000</div>
                <p>未处理</p>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import mapStyle from "@/assets/custom_map_config.json";
import echarts from "echarts";
import MyOverlay from '@/components/myoverlay/myOverlay'
import {largeOne, listInfo_common,largeTwo} from "@/api/enterprise/info";
export default {
  name: "itemOne",
  components: {
    MyOverlay
  },
  data() {
    return {
      markers:[],
      active:false,
      activeIndex:"",
      img:require("../../assets/images/purple.png"),
      mapTheme: mapStyle,
      fileIndex:"",
       arrMonth:[],
      arrNum:[],
    };
  },
  mounted() {
    this.largeTwo();
    this.getEchars();
    this.getInfo();
  },
  methods: {
    largeTwo(){
      largeTwo().then(res => {
        var arr=[];
        var arrNum=[];
    res.data.monthAll.map(function(item){

      arr.push( item.time)
      arrNum.push(item.num)
        });
      this.arrMonth=arr;
      this.arrNum=arrNum

        this.getEcharsHp(  this.arrNum)

      })
    },
    close(status){
        this.markers.map(function(item){
            if(item.id==status){
                item.showFlag=false;
            }
            return item;
        })
    },
    fileCurrent(index){
        this.fileIndex=index;
         console.log(2222)
    },
    current(index){
      this.activeIndex=index
    },
    handler({ BMap, map }) {},

    getInfo() {
      listInfo_common("").then(res => {
        //console.log(res.rows)
        var arr = []
        for (var i = 0; i < res.rows.length; i++) {
          arr.push(
            {
              longitude: res.rows[i].epLg,
              latitude: res.rows[i].epLt,
              scenicName: res.rows[i].epName,
              showFlag: false,
              id: res.rows[i].epId,
              userName: res.rows[i].epUserName
            }
          )
        }

        this.markers = arr;
      })
    },
    infoWindowClose(marker,markers) {
      this.markers=markers.map(function(item){
        if(item.id==marker.id){
          marker.showFlag=true;
        }else{
          item.showFlag=false;
        }
        return item;
      })
    },
    getEcharsHp(arr){
      this.commandstats = echarts.init(this.$refs.commandstats5, "macarons");
      this.commandstats.setOption({
        color: ["#A541FF", "#2DF8FF", "#02A1F9", "#00C29B"],
        title: {
          text: "",
        },
        tooltip: {
          trigger: "axis",
          axisPointer: {
            type: "cross",
            label: {
              backgroundColor: "#6a7985",
            },
          },
        },

        legend: {
          data: ["环评文件", "公文发布"],
          textStyle: {
            color: "#fff",
          },
        },
        toolbox: {},
        grid: {
          left: "3%",
          right: "3%",
          bottom: "10%",
          containLabel: true,
        },
        xAxis: [
          {
            type: "category",
            boundaryGap: false,
            splitLine: { show: false },
            data: [
              "1月",
              "2月",
              "3月",
              "4月",
              "5月",
              "6月",
              "7月",
              "8月",
              "9月",
              "10月",
              "11月",
              "12月",
            ],
            axisLine: {
              lineStyle: {
                color: "#fff",
              },
            },
          },
        ],
        yAxis: [
          {
            type: "value",
            splitLine: {
              show: true,
              lineStyle: {
                color: "rgba(255,255,255,0.1)",
              },
            },
            axisLine: {
              lineStyle: {
                color: "#fff",
              },
            },
          },
        ],
        series: [
          {
            name: "Line 3",
            type: "line",
            stack: "总量",
            smooth: true,
            lineStyle: {
              width: 0,
            },
            showSymbol: false,
            areaStyle: {
              opacity: 0.8,
              color: new echarts.graphic.LinearGradient(0, 0, 0, 0.3, [
                {
                  offset: 0,
                  color: "#29F19C",
                },
                {
                  offset: 1,
                  color: "#02A1F9",
                },
              ]),
            },
            emphasis: {
              focus: "series",
            },
            data:arr,
          },
          // {
          //   name: "Line 4",
          //   type: "line",
          //   stack: "总量",
          //   smooth: true,
          //   lineStyle: {
          //     width: 0,
          //   },
          //   showSymbol: false,
          //   areaStyle: {
          //     opacity: 0.8,
          //     color: new echarts.graphic.LinearGradient(0, 0, 0, 0.2, [
          //       {
          //         offset: 0,
          //         color: "#88FF88",
          //       },
          //       {
          //         offset: 1,
          //         color: "#00C29B",
          //       },
          //     ]),
          //   },
          //   emphasis: {
          //     focus: "series",
          //   },
          //   data: [220, 402, 231, 134, 190, 230, 120, 190, 230, 120],
          // },
        ],
      });
    },
    getEchars() {
      this.commandstats = echarts.init(this.$refs.commandstats, "macarons");
      this.commandstats.setOption({
        color: [
          "#00FDDC",
          "#DF7809",
          "#00CCFF",
          "#00FF18",
          "#38D866",
          "rgb(183 135 177)",
          "rgb(215, 171, 130)",
          "rgb(110, 112, 116)",
          "rgb(183 135 177)",
        ],
        series: [
          {
            name: "访问来源",
            type: "pie",
            radius: "70%",
            center: ["50%", "50%"],
            roseType: "area",
            itemStyle: {
              borderRadius: 10,

              borderWidth: 20,
            },
            data: [
              { value: 1048, name: "涉水设备" },
              { value: 735, name: "涉气设备" },
              { value: 580, name: "固废设备" },
            ],
          },
        ],
      });
      // this.commandstats = echarts.init(this.$refs.commandstats5, "macarons");
      // this.commandstats.setOption({
      //   color: ["#A541FF", "#2DF8FF", "#02A1F9", "#00C29B"],
      //   title: {
      //     text: "",
      //   },
      //   tooltip: {
      //     trigger: "axis",
      //     axisPointer: {
      //       type: "cross",
      //       label: {
      //         backgroundColor: "#6a7985",
      //       },
      //     },
      //   },
      //
      //   legend: {
      //     data: ["环评文件", "公文发布"],
      //     textStyle: {
      //       color: "#fff",
      //     },
      //   },
      //   toolbox: {},
      //   grid: {
      //     left: "3%",
      //     right: "3%",
      //     bottom: "10%",
      //     containLabel: true,
      //   },
      //   xAxis: [
      //     {
      //       type: "category",
      //       boundaryGap: false,
      //       splitLine: { show: false },
      //       data: [
      //         "1月",
      //         "2月",
      //         "3月",
      //         "4月",
      //         "5月",
      //         "6月",
      //         "7月",
      //         "8月",
      //         "9月",
      //         "10月",
      //       ],
      //       axisLine: {
      //         lineStyle: {
      //           color: "#fff",
      //         },
      //       },
      //     },
      //   ],
      //   yAxis: [
      //     {
      //       type: "value",
      //       splitLine: {
      //         show: true,
      //         lineStyle: {
      //           color: "rgba(255,255,255,0.1)",
      //         },
      //       },
      //       axisLine: {
      //         lineStyle: {
      //           color: "#fff",
      //         },
      //       },
      //     },
      //   ],
      //   series: [
      //     {
      //       name: "Line 3",
      //       type: "line",
      //       stack: "总量",
      //       smooth: true,
      //       lineStyle: {
      //         width: 0,
      //       },
      //       showSymbol: false,
      //       areaStyle: {
      //         opacity: 0.8,
      //         color: new echarts.graphic.LinearGradient(0, 0, 0, 0.3, [
      //           {
      //             offset: 0,
      //             color: "#29F19C",
      //           },
      //           {
      //             offset: 1,
      //             color: "#02A1F9",
      //           },
      //         ]),
      //       },
      //       emphasis: {
      //         focus: "series",
      //       },
      //       data: [320, 132, 201, 334, 90, 130, 20],
      //     },
      //     {
      //       name: "Line 4",
      //       type: "line",
      //       stack: "总量",
      //       smooth: true,
      //       lineStyle: {
      //         width: 0,
      //       },
      //       showSymbol: false,
      //       areaStyle: {
      //         opacity: 0.8,
      //         color: new echarts.graphic.LinearGradient(0, 0, 0, 0.2, [
      //           {
      //             offset: 0,
      //             color: "#88FF88",
      //           },
      //           {
      //             offset: 1,
      //             color: "#00C29B",
      //           },
      //         ]),
      //       },
      //       emphasis: {
      //         focus: "series",
      //       },
      //       data: [220, 402, 231, 134, 190, 230, 120, 190, 230, 120],
      //     },
      //   ],
      // });
    },
  },
};
</script>

<style scoped>
.map {
  width: 100%;
  height: 100vh;
  z-index: 100;
}

.map-content{
  position: absolute;
  width: 100%;
  height: 100%;
}
.item-title {
  width: 500px;
  height: 38px;
  text-align: center;
  line-height: 38px;
  color: #fff;
  background: url("~@/assets/s-title-bg.png") no-repeat;
  background-size: 100% 100%;
}
.item-header {
  position: relative;
  text-align: center;
  color: #fff;
  width: 100%;
  height: 62px;
  line-height: 62px;
  background: url("~@/assets/title-bg.png") no-repeat;
  background-size: 100% 100%;
}
.item-content {
  position: absolute;
  top: 0;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100000;
}
.item-big-box {
  width: 520px;
  height: 100%;
  opacity: 1;
  background: rgba(15, 46, 75, 0.5);
  border: 1px solid #0f2e4b;
  border: 1px solid #054988;
  border-radius: 5px;
}
.item-left {
  position: relative;
  float: left;
  width: 33.333%;
  display: flex;
  height: 93vh;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 9px;
}
.item-right {
  position: relative;
  float: right;
  width: 33.333%;
  display: flex;
  margin-right: 9px;
  height: 93vh;
  flex-direction: column;
  justify-content: space-between;
}
.item-left-Box {
  width: 100%;
  height: 50%;
}
.item-left-right {
  width: 100%;
  height: 600px;
}
.echarsPie {
  position: relative;
  margin-top: 30px;
      width: 76px;
    height: 76px;
  /* width: 88px;
  height: 88px; */
  line-height: 88px;
  text-align: center;
  color: rgba(22, 191, 195, 1);
  border: rgba(0, 168, 255, 0.6) 1px solid;
  border-radius: 50%;
  /* background: url("~@/assets/circle.png") no-repeat; */
  background-size: 100% 100%;
  margin: 0 auto;
}
.complaint {
  display: flex;
  justify-content: space-around;
}
.complaint-item {
  width: 33.333%;
  height: 150px;
  margin-top: 34px;
}
.complaint-item-title {
  font-size: 14px;
  color: #fff;
  text-align: center;
  margin-top: 20px;
}
.conmplaint-mouth {
  width: 300px;
  color: #fff;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.conmplaint-mouth-title {
  width: 67px;
  height: 33px;
  line-height: 33px;
  text-align: center;
}
.border {
  width: 67px;
  height: 33px;
  opacity: 1;
  border: 1px solid #03bff2;
  border-radius: 18px;
}

.conmplaint-line {
  width: 90%;
  display: flex;
}
.line {
  position: relative;
  width: 70%;
  height: 8px;

  background: rgba(255, 255, 255, 0.1);
}
.l-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 8px;
  opacity: 1;
  background: linear-gradient(-18deg, #03bbff 0%, #6e89ff 100%);
}
.line-title {
  opacity: 1;
  font-size: 16px;
  font-family: Microsoft YaHei, Microsoft YaHei-Regular;
  font-weight: 400;
  text-align: right;
  color: #00d7e1;
  margin-right: 5px;
}
.line-number {
  font-size: 16px;
  font-family: Microsoft YaHei, Microsoft YaHei-Regular;
  font-weight: 400;
  text-align: right;
  color: #00d7e1;
  margin-left: 5px;
}
.conmplaint-line {
  margin: 0 auto;
  margin-top: 22px;
}
.item-center {
  position: absolute;
  width: 750px;
  height: 340px;
  left: 50%;
  margin-left: -375px;
  bottom: 0;
  background: rgba(15, 46, 75, 0.5);
  border: 1px solid #0f2e4b;
  border: 1px solid #054988;
  border-radius: 5px;
}
.item-order {
  width: 90%;
  height: 66px;
  background: rgba(41, 113, 183, 0.4);

  margin: 0 auto;
  margin-bottom: 20px;
  display: flex;
  /*align-content: center;*/
  align-items: center;
  justify-content: space-around;
}
.item-order-number {
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  color: #00e4ff;
  background: rgba(0, 210, 255, 0.2);
  border: 1px solid #00f0ff;
  border-radius: 50%;
}
.item-o-t {
  font-size: 15px;
  font-family: Microsoft YaHei, Microsoft YaHei-Regular;
  font-weight: bold;
  text-align: left;
  color: #ffffff;

  letter-spacing: 1px;
}
.item-order-subtitle {
  font-size: 15px;
  font-family: Microsoft YaHei, Microsoft YaHei-Regular;
  font-weight: bold;

  color: #00f0ff;
}
.item-order-button {
  width: 79px;
  height: 26px;
  text-align: center;
  line-height: 26px;
  color: #fff;
  font-size: 14px;
  /*margin-bottom: 20px;*/
  background: rgba(0, 210, 255, 0.2);
  border: 1px solid #00f0ff;
  border-radius: 13px;
}
.item-big-box-t {
  width: 80%;
  height: 80%;
  margin: 0 auto;
  margin-top: 40px;
  border: 1px solid #00cfda;
}
.item-big-box-count {
}
.i-b-c-c {
  height: 61px;
  border-bottom: 1px solid #0f2e4b;
}
.new-add-QY {
  width: 93%;
  height: 43px;
  line-height: 43px;
  border-top: 1px solid rgba(50, 216, 218, 1);
  margin: 0 auto;
}
.new-add-title {
  margin-top: 12px;
  font-size: 15px;
  font-family: Microsoft YaHei, Microsoft YaHei-Bold;
  font-weight: 700;
  color: #00f0ff;
  width: 92px;
  text-align: center;
  height: 28px;
  line-height: 28px;
  background: rgba(7, 12, 52, 0.43);
  border: 1px solid rgba(42, 146, 241, 0.82);
}
.new-add-border {
  width: 121px;
  height: 28px;
  line-height: 28px;
  padding-top: 12px;
  text-align: center;
  display: flex;
  justify-content: space-between;
}
.n-a-b {
  height: 28px;
  width: 33.333%;
  border: 1px solid rgba(50, 216, 218, 1);
  color: rgba(50, 216, 218, 1);
  cursor: pointer;
}
.new-area {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.new-area .new-item {
  width: 33.333%;
  height: 39px;
}
.mew-add-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.new-area-content {
  padding-top: 25px;
}
.new-area-title {
  font-size: 14px;
  height: 39px;
  display: flex;
  font-family: Source Han Sans CN, Source Han Sans CN-Regular;
  font-weight: 400;
  text-align: left;
  color: #ffffff;
  align-items: center;
}
.item-box-img {
  position: relative;
  width: 229px;
  height: 201px;
  background: url("~@/assets/Columnar.png") no-repeat;
  margin: 0 auto;
  margin-top: 13%;
}
.item-line {
  width: 20px;
  height: 70px;
  position: absolute;
  top: 10%;
  border-left: 1px solid rgba(0, 204, 255, 1);
  border-bottom: 1px solid rgba(0, 204, 255, 1);
}
.item-line-right {
  width: 20px;
  height: 70px;
  position: absolute;
  top: 10%;
  right: 0%;
  border-right: 1px solid rgba(255, 207, 92, 1);
  border-bottom: 1px solid rgba(255, 207, 92, 1);
}
.item-h-line2 {
  position: absolute;
  top: 2%;
  right: -20%;
  width: 71px;
  height: 2px;
  opacity: 1;

  background: rgba(255, 207, 92, 1);
}
.h-line {
  position: absolute;
  top: 2%;
  width: 71px;
  height: 2px;
  opacity: 1;
  left: -10%;
  background: #00ccff;
}
.h-word {
  position: absolute;
  top: -30%;
  left: -10%;
}
.h-word2 {
  position: absolute;
  top: -30%;
  right: -15%;
}
.h-word span {
  font-size: 14px;
  font-family: Adobe Heiti Std, Adobe Heiti Std-R;

  text-align: left;
  color: #ffffff;
}
.h-word p {
  font-size: 36px;
  font-family: DINCondensed, DINCondensed-Bold;
  font-weight: 700;
  text-align: left;
  color: #ffffff;
  padding: 0;
  margin: 0;
  text-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.3);
}
.h-word2 span {
  font-size: 14px;
  font-family: Adobe Heiti Std, Adobe Heiti Std-R;

  text-align: left;
  color: #ffffff;
}
.h-word2 p {
  font-size: 36px;
  font-family: DINCondensed, DINCondensed-Bold;
  font-weight: 700;
  text-align: left;
  color: #ffffff;
  padding: 0;
  margin: 0;
  text-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.3);
}

.Number {
  position: absolute;
  left: 20%;
  top: 10%;
  opacity: 1;

  font-size: 26px;
  font-family: DINCondensed, DINCondensed-Bold;
  font-weight: 700;
  text-align: center;
  color: #fff;
  line-height: 19px;
  text-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.3);
}
.Number2 {
  position: absolute;
  right: -5%;
  top: 40%;
  opacity: 1;

  font-size: 26px;
  font-family: DINCondensed, DINCondensed-Bold;
  font-weight: 700;
  text-align: center;
  color: #fff;
  line-height: 19px;
  text-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.3);
}
.shebei-list {
  width: 80%;
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
  font-size: 12px;
  align-items: center;
  color: #fff;
  margin-bottom: 3%;
}
.shebei-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00b1ef;
  align-items: center;
}
.new-Month {
  display: flex;
  justify-content: flex-end;
  margin-right: 40px;
}
.gfcl {
  display: flex;
  justify-content: space-around;
  margin-top: 12%;
}
.gfcl p {
  text-align: center;
}
.gf1 {
  width: 113px;
  text-align: center;
  color: #fff;
  height: 111px;
  background: url("~@/assets/treated.png") no-repeat;
}

.gf2 {
  width: 113px;
  text-align: center;
  color: #fff;
  height: 111px;
  background: url("~@/assets/Untreated.png") no-repeat;
}
.gfcl-item p {
  text-align: center;
  color: #fff;
  margin: 0;
}
.hp-wj {
  height: 20px;
  width: 50%;
  display: flex;
  /* justify-content: space-around; */
  margin-left: 20%;
  color: #fff;
  font-size: 12px;
}
.hp-wj1 {
  height: 10px;
}
.hp-wj1 span {
  display: inline-block;
  width: 31px;
  height: 1px;
  opacity: 1;
  border: 1px solid #1f80f8;
}
.hp-wj1 p {
  padding: 0;
  margin: 0;
}
.hp-wj2 p {
  padding: 0;
  margin: 0;
}
.hp-wj2 {
  width: 40%;
  text-align: center;
}
.hp-wj2 span {
  display: inline-block;
  width: 31px;
  height: 1px;
  opacity: 1;
  border: 1px solid rgba(0, 234, 243, 1);
}
.hp-wj2 p {
  text-align: right;
}

/* 全局控制栏
body {
  background-color: #020712;
  margin: 0;
  font-family: "Microsoft YaHei";
  font-weight: lighter;
  background-image: url("../images/Homebodybg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-position-y: -120px;
}
a {
  text-decoration: none;
  color: white;
}
.l_left {
  float: left;
} */
.clear {
  clear: both;
}
img {
  border: none;
} /*标题*/
.Hometitlebox {
  width: 686px;
  height: 69px;
  margin: auto;
  /* background-image: url("../img/Hometitlebg.png"); */
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  line-height: 69px;
} /*动效栏*/
.flasheffectoutbox {
  width: 1000px;
  height: 500px;
  margin: auto;
  margin-top: 100px;
  /* background-image: url("../images/chain_bg.png"); */
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}
.circleeffectclass {
  border-radius: 50%;
  border: rgba(0, 168, 255, 0.6) 1px solid;
  cursor: pointer;
  position: absolute;
}
.effectposition {
  position: absolute;
  left: -1%;
  top: -1%;
    /* width: 54px;
    height: 54px;
    margin: 3px;
        background-color: rgba(0,126,255,0.3);
    border-radius: 50%; */
  /* margin-top: -25%;
  margin-left: -25%; */
}
.acrossremindeffectout {
  background-color: rgba(0, 126, 255, 0.05);
  border-radius: 50%;
}
.acrossremindeffectoutho {
  background-color: rgba(0, 126, 255, 0.15);
}
.acrossremindeffectin {
  background-color: rgba(0, 126, 255, 0.3);
  border-radius: 50%;
  margin: auto;
   width: 54px;
  height: 54px;
  line-height: 54px;
  margin-top: 13%;


}
.acrossremindeffectinho {
  background-color: rgba(0, 126, 255, 0.45);
}
.stagetitle {
  color: #00e4ff;
  top: 104px;
  font-size: 14px;
  font-family: "Microsoft YaHei";
  font-weight: lighter;
  display: block;
  width: 116px;
  text-align: center;
  position: absolute;
  left: -10%;
}
.stagearoundtitle {
  left: -25%;
  top: 85px;
}
/* .line {
  position: absolute;
  transform-origin: left;
  animation-iteration-count: infinite;
} */
.line2 {
  z-index: 1;
  left: 330px;
  top: 183px;
  width: 0;
  height: 3px;
  transform: rotate(21deg);
  animation: mm2 4s;
  animation-delay: 2s;
  animation-iteration-count: infinite;
  /* background-image: url("../images/linght_ef.png"); */
  background-repeat: no-repeat;
  background-position: 100%;
}
.line3 {
  z-index: 1;
  left: 262px;
  top: 351px;
  width: 0;
  height: 3px;
  transform: rotate(-25deg);
  animation: mm 5s;
  animation-delay: 4s;
  animation-iteration-count: infinite;
  /* background-image: url("../images/linght_ef.png"); */
  background-repeat: no-repeat;
  background-position: 100%;
}
.line4 {
  z-index: 1;
  left: 638px;
  top: 141px;
  width: 0;
  height: 3px;
  transform: rotate(-211deg);
  animation: mm4 3s;
  animation-delay: 3s;
  animation-iteration-count: infinite;
  /* background-image: url("../images/linght_ef.png"); */
  background-repeat: no-repeat;
  background-position: 100%;
}
.line5 {
  z-index: 1;
  left: 679px;
  top: 289px;
  width: 0;
  height: 3px;
  transform: rotate(-172deg);
  animation: mm5 5s;
  animation-delay: 1s;
  animation-iteration-count: infinite;
  /* background-image: url("../images/linght_ef.png"); */
  background-repeat: no-repeat;
  background-position: 100%;
}
.line6 {
  z-index: 1;
  left: 537px;
  top: 373px;
  width: 0;
  height: 3px;
  transform: rotate(-116deg);
  animation: mm6 4s;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  /* background-image: url("../images/linght_ef.png"); */
  background-repeat: no-repeat;
  background-position: 100%;
}
@keyframes mm {
  0% {
    width: 0;
  }
  100% {
    width: 194px;
  }
}
@keyframes mm2 {
  0% {
    width: 0;
  }
  100% {
    width: 113px;
  }
}
@keyframes mm4 {
  0% {
    width: 0;
  }
  100% {
    width: 140px;
  }
}
@keyframes mm5 {
  0% {
    width: 0;
  }
  100% {
    width: 158px;
  }
}
@keyframes mm6 {
  0% {
    width: 0;
  }
  100% {
    width: 94px;
  }
} /*主动效*/
.maineffectoutbox {
  border: rgba(0, 168, 255, 0.6) 3px solid;
  width: 94px;
  height: 94px;
  top: 194px;
  left: 430px;
}
.maindataeffect {
  animation: scrolleffect 6.5s infinite linear;
}
.maindataspecialeffectct {
  animation: maindataspecialeffect 0.6s forwards;
}
@keyframes scrolleffect {
  0% {
    transfrom: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes maindataspecialeffect {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} /*卫星动效*/
.aroundfunctioneffect {
  width: 76px;
  height: 76px;
}
.acrossremindeffectoutard {
  width: 60px;
  height: 60px;
  margin: 8px;
}
.acrossremindeffectinard {

}
.arounddataeffect01 {
  animation: scrolleffectarround01 linear infinite 4s forwards;
}
.arounddataeffect02 {
  animation: scrolleffectarround01 linear infinite 3.8s forwards;
}
.arounddataeffect03 {
  animation: scrolleffectarround01 linear infinite 4.2s forwards;
}
@keyframes scrolleffectarround01 {
  0% {
    transfrom: rotate(0deg);
  }
  25% {
    transform: rotate(-90deg);
  }
  50% {
    transform: rotate(-180deg);
  }
  75% {
    transform: rotate(-270deg);
  }
  100% {
    transform: rotate(-360deg);
  }
} /*修饰卫星*/
.decarround01 {
  width: 37px;
  height: 37px;
  cursor: auto;
}
.decarroundin01 {
  width: 33px;
  height: 33px;
  margin: 2px;
  background-color: rgba(0, 126, 255, 0.8);
}
.decarroundin01:hover {
  background-color: rgba(0, 126, 255, 0.9);
}
.decarround02 {
  width: 27px;
  height: 27px;
  cursor: auto;
}
.decarroundin02 {
  width: 23px;
  height: 23px;
  margin: 2px;
  background-color: rgba(0, 126, 255, 0.7);
}
.decarroundin02:hover {
  background-color: rgba(0, 126, 255, 0.8);
} /*悬浮信息*/
.fltoutbox {
  width: 282px;
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-position-y: 0px;
}
.leftbox {
  left: 2%;
  top: 6%;
  /* background-image: url("../img/fltleftbg.png"); */
}
.rightbox {
  right: 2%;
  top: 6%;
  /* background-image: url("../img/fltrightbg.png"); */
}
.analyzedatashowtitle {
  line-height: 44px;
  color: #dfdede;
  font-size: 14px;
  margin-left: 16px;
  display: block;
  font-weight: bold;
}
.analyzemsgbgbox {
  background-color: rgba(0, 168, 255, 0.2);
  width: 280px;
  height: 260px;
  position: relative;
}
.fltdecarround {
  width: 8px;
  height: 8px;
  position: absolute;
}
.fltdecarroundtop {
  top: -1px;
  border-top: #00a8ff 3px solid;
}
.fltdecarroundright {
  right: -1px;
  border-right: #00a8ff 3px solid;
}
.fltdecarroundbottom {
  bottom: -1px;
  border-bottom: #00a8ff 3px solid;
}
.fltdecarroundleft {
  left: -1px;
  border-left: #00a8ff 3px solid;
} /*弹出信息*/
.analyzepopupbox {
  width: 1000px;
  height: 680px;
  background-color: rgba(0, 8, 12, 0.75);
  position: fixed;
  top: 100px;
  overflow-y: scroll;
}
.popupboxtitlebox {
  height: 30px;
  width: 1000px;
  background-color: #64a6d4;
  position: fixed;
  top: 100px;
  z-index: 100;
}
.popupboxtitlemsg {
  font-size: 16px;
  color: white;
  font-weight: bold;
  line-height: 30px;
  margin-left: 10px;
}
.popupboxclose {
  width: 16px;
  height: 16px;
  /* background-image: url("../img/popupboxclosebtn01.png"); */
  float: right;
  margin-right: 9px;
  margin-top: 6px;
  cursor: pointer;
}
.popupboxclose:hover {
  /* background-image: url("../img/popupboxclosebtn02.png"); */
}
.popupboxmsgoutbox {
  height: 314px;
  width: 980px;
  margin: auto;
  border-bottom: #00b6cc 2px solid;
}
.popupboxmsgboxhlf {
  padding-top: 20px;
  float: left;
  width: 479px;
  margin-left: 10px;
}
.popupboxmsgboxcrs {
  padding-top: 20px;
}
.popupboxmsgtitle {
  font-size: 14px;
  font-weight: bold;
  color: #00e4ff;
}
.popupboxdata {
  color: #fffc00;
}
.popuofunxtionbox {
  width: 1000px;
  margin: auto;
  position: relative;
  display: none;
} /*版权*/
.copyrigntoutbox {
  position: absolute;
  bottom: 10px;
  left: 37%;
}
.copyrigntmsg {
  display: block;
  color: white;
  font-size: 12px;
}
.n-active{
  color:#1f80f8;
}
.out-border{
  width: 92px;
  height: 28px;
  margin-left: 60px;
  line-height: 28px;
  text-align: center;
  font-size: 15px;
  font-family: Microsoft YaHei, Microsoft YaHei-Bold;
  font-weight: 700;
  color: #00f0ff;
  letter-spacing: 1px;
  background: url("~@/assets/images/border.jpg") no-repeat;
}
.sample {
  width: 260px;
  height:340px;
  /*line-height: 40px;*/
  background: rgba(15,46,75,0.50);
  overflow: hidden;
  box-shadow: 0 0 5px #000;
  color: red;
  text-align: center;
  padding: 10px;
  position: absolute;

  border: 1px solid #054988;
  border-radius: 5px;
}
</style>
